import AutoImport from 'unplugin-auto-import/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'

export default function createAutoImport() {
  return AutoImport({
    imports: [
      'vue',
      'vue-router'
      // {
      //     'vuex': ['useStore']
      // }
    ],
    resolvers: [ElementPlusResolver()],
    dts: false
  })
}
